package com.epam.command.load;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.epam.command.logic.Command;
import com.epam.command.logic.LoaderLogic;
import com.epam.util.ConfigurationManager;

public class LoadToursCommand implements Command {
	
	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		
		String page = ConfigurationManager.getConfig(ConfigurationManager.TOUR_LIST);
		
		request.setAttribute("vouchers", LoaderLogic.loadVouchers());
		
		
		return page;
	}

}
